using System;
using CQRS.Events.Memento;

namespace CQRS.Events
{
    public class Snapshot : MongoObject, ISnapshot
    {
        public Snapshot(Guid eventId, int version, IMemento memento)
        {
            EventProviderId = eventId;
            Version = version;
            Memento = memento;
        }

        public Guid EventProviderId { get; private set; }
        public int Version { get; private set; }
        public IMemento Memento { get; private set; }
    }
}